<?php /* Smarty version 2.6.18, created on 2017-08-28 18:28:55
         compiled from credit.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'strtolower', 'credit.html', 150, false),array('modifier', 'count', 'credit.html', 162, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<script language="javascript" src="../js/md5.js"></script>
<style type="text/css">
td,th{height:20px;line-height:20px;}
select{width:50px;}
tr:hover{background:#DEEFD8}
.gametype{width:120px;}
.addtb td {
	text-align:left;
}
.conwidth {
	width:400px;
}
.add_tb td {
	width:35%;
	height:30px;
	line-height:30px;
	text-align:left;
	padding-left:20px;
}
.add_tb th {
	width:15%;
	height:30px;
	line-height:30px;
	text-align:right;
	padding-right:8px;
}
.add_tb {
	background:#fff
}
.add_tb label{color:red}
</style>
</head>
<body>
<script id=myjs language="javascript">
var js=1;var sss='credit';
</script>
<div class="xbody1">
 <form action="userinfo.php" method='POST' style="margin:0px;" name="form" id="form">
  <input type="hidden" value="<?php echo $this->_tpl_vars['userid']; ?>
" name='userid' id='userid' />
  <table class="tinfo wd100 add_tb">
   <tr>
       <th>帐户</th>
       <TD><label><?php echo $this->_tpl_vars['username']; ?>
(<?php echo $this->_tpl_vars['name']; ?>
)[<?php echo $this->_tpl_vars['usertype']; ?>
]</label></td>
       
       
   </tr>
   <TR>
       <th>信用额度[低频]</th>
       <TD><label><?php echo $this->_tpl_vars['maxmoney']; ?>
</label>&nbsp;&nbsp;可用:&nbsp;
           <label id='money'><?php echo $this->_tpl_vars['money']; ?>
</label>&nbsp;&nbsp;(<label><?php echo $this->_tpl_vars['premoney']; ?>
%</label>)</td>
   </tr>
   <TR>
    <th>信用额度[快开]</th>
    <TD><label><?php echo $this->_tpl_vars['kmaxmoney']; ?>
</label>&nbsp;&nbsp;可用:&nbsp;<label id='kmoney'><?php echo $this->_tpl_vars['kmoney']; ?>
</label>&nbsp;&nbsp;(<label><?php echo $this->_tpl_vars['prekmoney']; ?>
%</label>)</td>
    </tr>
    <?php if ($this->_tpl_vars['maxrenflag'] == 1): ?>
   <Tr>
   <th>最多下线数</th>
    <TD><label><?php echo $this->_tpl_vars['maxren']; ?>
</label>
     &nbsp;&nbsp;[目前
     <label><?php echo $this->_tpl_vars['ren']; ?>
</label>
     ]&nbsp;&nbsp;(<label><?php echo $this->_tpl_vars['preren']; ?>
%</label>) </td>
     </Tr>
     <?php endif; ?>
     <tr style="display:none">
    <th>现金额度</th>
    <td><img src='<?php echo $this->_tpl_vars['globalpath']; ?>
img/<?php echo $this->_tpl_vars['fudong']; ?>
.gif' /></td>
   </tr>
   <TR>
    <th>盘口类型</th>
    <TD><?php $_from = $this->_tpl_vars['pan']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>    
     <label><?php echo $this->_tpl_vars['i']; ?>
</label>    
     <?php endforeach; endif; unset($_from); ?>盘</td>
     </TR>
     <tr style="display:none">
    <th>默认盘口</th>
    <TD><select class="pan">
         <?php $_from = $this->_tpl_vars['pan']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
           <option value="<?php echo $this->_tpl_vars['i']; ?>
" <?php if ($this->_tpl_vars['i'] == $this->_tpl_vars['defaultpan']): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['i']; ?>
</option>
         <?php endforeach; endif; unset($_from); ?>
      </select><input style="margin-left:5px;" type="button" value="更改" class="editpan btn2 btnf" /></td>
   </tr>
   <tr><th>登录默认彩种</th>
    <TD><select class="gametype">
    <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['ugame']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
    <OPTION value="<?php echo $this->_tpl_vars['ugame'][$this->_sections['i']['index']]['gid']; ?>
" <?php if ($this->_tpl_vars['ugame'][$this->_sections['i']['index']]['gid'] == $this->_tpl_vars['ugid']): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['ugame'][$this->_sections['i']['index']]['gname']; ?>
</OPTION>
    <?php endfor; endif; ?>
    </select><input style="margin-left:5px;" type="button" value="更改" class="editgid btn2 btnf" /></td>
    </tr>
<?php if (( $this->_tpl_vars['layer'] == 1 & $this->_tpl_vars['ifexe'] == 1 )): ?>
   <TR style="display:none">
    <Th>赔率模式</Th>
    <Td>
        
        
        <select class="pself">
            <option value="0" <?php if ($this->_tpl_vars['pself'] == 0): ?>selected<?php endif; ?>>使用上级赔率</option>
            <option value="1" <?php if ($this->_tpl_vars['pself'] == 1): ?>selected<?php endif; ?>>使用自定赔率</option>
            </select>
        <input type="button" class="btn1 btnf editpself" value="修改" />
        
    </Td>
    </TR>    <?php endif; ?>
  </table>
 </form><Br />
<table class="tinfo wd100 cs">
<Tr><th colspan="13">两面包括所有单双、大小、合单双、合大小、大小尾、六肖、总分大小、总分单双、龙虎</th></Tr>
</table>
<table class="tinfo wd100 cs2">
   <Tr>
    <th rowspan="2"> <select id='game' style="width:100px;">
      <option value="all">选择游戏</option>
      
      
   <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['game']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
      
      
      <option value="<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
"><?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gname']; ?>
</option>
      
      
   <?php endfor; endif; ?>
   
     
     </select>
    </th>
    <th rowspan="2"> 类别 </th>
    <th rowspan="2" style="display:none">保底赔率</th>
    <th rowspan="2">单项最大</th>
    <th rowspan="2">每注最大</th>
    <th rowspan="2">每注最低</th>
    <?php $_from = $this->_tpl_vars['span']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
    <th  class="<?php echo $this->_tpl_vars['i']; ?>
 p" colspan="2"><?php echo $this->_tpl_vars['i']; ?>
盘退水%</th>
    <?php endforeach; endif; unset($_from); ?> </Tr>
   <tr> <?php $_from = $this->_tpl_vars['span']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
    <th class="a p">A</th>
    <th class="a p">B</th>
    <?php endforeach; endif; unset($_from); ?> </tr>
   <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['game']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?> 
   <?php $this->assign('pan', $this->_tpl_vars['game'][$this->_sections['i']['index']]['pan']); ?>
   <?php unset($this->_sections['j']);
$this->_sections['j']['name'] = 'j';
$this->_sections['j']['loop'] = is_array($_loop=$this->_tpl_vars['pan']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['j']['show'] = true;
$this->_sections['j']['max'] = $this->_sections['j']['loop'];
$this->_sections['j']['step'] = 1;
$this->_sections['j']['start'] = $this->_sections['j']['step'] > 0 ? 0 : $this->_sections['j']['loop']-1;
if ($this->_sections['j']['show']) {
    $this->_sections['j']['total'] = $this->_sections['j']['loop'];
    if ($this->_sections['j']['total'] == 0)
        $this->_sections['j']['show'] = false;
} else
    $this->_sections['j']['total'] = 0;
if ($this->_sections['j']['show']):

            for ($this->_sections['j']['index'] = $this->_sections['j']['start'], $this->_sections['j']['iteration'] = 1;
                 $this->_sections['j']['iteration'] <= $this->_sections['j']['total'];
                 $this->_sections['j']['index'] += $this->_sections['j']['step'], $this->_sections['j']['iteration']++):
$this->_sections['j']['rownum'] = $this->_sections['j']['iteration'];
$this->_sections['j']['index_prev'] = $this->_sections['j']['index'] - $this->_sections['j']['step'];
$this->_sections['j']['index_next'] = $this->_sections['j']['index'] + $this->_sections['j']['step'];
$this->_sections['j']['first']      = ($this->_sections['j']['iteration'] == 1);
$this->_sections['j']['last']       = ($this->_sections['j']['iteration'] == $this->_sections['j']['total']);
?>
   <tr gid='<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
' class="gametr">
    <td class="<?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']]['class']; ?>
" gid='<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
'><?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gname']; ?>
</td>
    <td class="<?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']]['class']; ?>
" gid='<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
'><?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']]['name']; ?>
</td>
    <td><?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']]['cmaxje']; ?>
</td>
    <td><?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']]['maxje']; ?>
</td>
    <td><?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']]['minje']; ?>
</td> 
    <?php if ($this->_tpl_vars['pan'][$this->_sections['j']['index']]['abcd'] == 1): ?>
        <?php $_from = $this->_tpl_vars['span']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k']):
?>   
           <?php $this->assign('m', strtolower($this->_tpl_vars['k'])); ?>
           <?php if ($this->_tpl_vars['pan'][$this->_sections['j']['index']]['ab'] == 1): ?>
               <?php $this->assign('tmp', "points".($this->_tpl_vars['m'])."a"); ?>
               <td><?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']][$this->_tpl_vars['tmp']]; ?>
</td>
               <?php $this->assign('tmp', "points".($this->_tpl_vars['m'])."b"); ?>
               <td><?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']][$this->_tpl_vars['tmp']]; ?>
</td>
           <?php else: ?>
                <?php $this->assign('tmp', "points".($this->_tpl_vars['m'])."0"); ?>
                <td colspan="2"><?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']][$this->_tpl_vars['tmp']]; ?>
</td>
            <?php endif; ?> 
        <?php endforeach; endif; unset($_from); ?>
    <?php else: ?>
         <?php $this->assign('tmp', count($this->_tpl_vars['span'])); ?>
         <?php $this->assign('tmp2', $this->_tpl_vars['tmp']*2); ?>
         <td colspan="<?php echo $this->_tpl_vars['tmp2']; ?>
"><?php echo $this->_tpl_vars['pan'][$this->_sections['j']['index']]['pointsa0']; ?>
</td>
    <?php endif; ?>
    </tr>
   <?php endfor; endif; ?>
   <?php endfor; endif; ?>
  </table>
</div>
<div id='test'></div>
<SCRIPT language="javascript">
var ngid = <?php echo $this->_tpl_vars['gid']; ?>
;
</SCRIPT>
</body>
</html>
